package com.geniusk.wss.enums;

/**
 * 发送消息的动作 枚举
 */
public enum MsgActionEnum {
	
	CONNECT(1, "建立连接"),
	MESSAGE(2, "传输消息"),
	KEEPALIVE(4, "心跳保持");
	
	public final Integer type;
	public final String content;
	
	MsgActionEnum(Integer type, String content){
		this.type = type;
		this.content = content;
	}
	
	public Integer getType() {
		return type;
	}  
}
